﻿#if CORE

#else

using System;
using System.Collections.Generic;
using System.Text;

namespace System.Runtime.CompilerServices
{
    /// <summary>
    /// 
    /// </summary>
    [CompilerGenerated, AttributeUsage(AttributeTargets.GenericParameter | AttributeTargets.ReturnValue | AttributeTargets.Parameter | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public sealed class NullableAttribute : Attribute
    {
        /// <summary>
        /// Fields
        /// </summary>
        public readonly byte[] NullableFlags;

        /// <summary>
        /// 构造函数初始化
        /// </summary>
        /// <param name="num">num</param>
        public NullableAttribute(byte num)
        {
            this.NullableFlags = new byte[] { num };
        }

        /// <summary>
        /// 构造函数初始化
        /// </summary>
        /// <param name="buffer">byte[]</param>
        public NullableAttribute(byte[] buffer)
        {
            this.NullableFlags = buffer;
        }
    }
}

#endif
